package com.qdxwx.data.service.user;


import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.user.UserAddress;
import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
public interface UserAddressService {

    UserAddress get(int id);

    int insert(UserAddress userAddress);

    int update(UserAddress userAddress);

    int delete(int id);

    List<UserAddress> getList(UserAddress userAddress, PageRequest page);

    List<UserAddress> getList(long userId, int limit);

    long count(UserAddress userAddress);

    int updateCombine(long userId1, long userId2);
}
